﻿<!DOCTYPE html>
@model winproject.Models.GlobalViewModel
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>@ViewBag.Title</title>
    @Styles.Render("~/Content/Bootstraptheme")
    @Styles.Render("~/Content/sitecss")
    
    <script src="http://knockoutjs.com/downloads/knockout-3.0.0.debug.js" type="text/javascript"></script>
    @Scripts.Render("~/bundles/knockout")
    <!--[if lt IE 9]><script src="js/html5shiv.js"></script> <script src="js/respond.min.js"></script> <![endif]-->
    @Scripts.Render("~/Scripts/jquery-1.10.js")
    @{
    string upath = HttpContext.Current.Request.ApplicationPath;
    }
    <script type="text/javascript">
        var rootpath = "@upath";
        function getAppPath(spath) {
            if (isNaN(spath) && spath != "")
                return (rootpath + (spath.replace('~', '')));
            else
                return "";
        }
    </script>
</head>
<body>
    <div class="container">
        <div class="row">
            &nbsp;
        </div>
            @Html.Partial("_FullWidthMenu")
        <section id="page-body">
            @RenderBody()
        </section>
    </div>
    <div class="footer">
        <div class="container text-center" style="padding-top:10px;color:#fff">
            Copyright By @Model.ApplicationName &copy; @DateTime.Today.Year - Powered By <span class="text-muted">logic4soft.com</span>
        </div>
    </div>

    <script id="popular-downloads" type="text/html">
            <div>
                <div class="row">
                    <div class="col-md-1">      
                        {row-count}
                    </div>
                    <div class="col-md-9">
                        {product-title}
                    </div>
                    <div class="col-md-2">
                        {product-download-counts}
                    </div>
                </div>
            </div>
    </script>

    <script id="product-short-desc" type="text/html">
        <div>
            <div class="row">
                <div class="col-md-1">
                    <img src="#" alt="{product-name}" class="img-thumbnail" />
                </div>
            </div>
            <div class="row">
                <div class="col-md-9 text-left">
                    <h3>{product-name}</h3>
                </div>
                <div class="row">
                    <div class="col-md-12">
                        <h5>{product-short-desc}</h5>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-md-2">
                    Editor rating
                </div>
                <div class="row">
                    <div class="col-md-2">
                        {star-ratings}
                    </div>
                </div>
            </div>
        </div>
    </script>

    
    @*@Scripts.Render("~/bootgrid/jquery")    *@
    @Scripts.Render("~/bundles/bootstrap")
    @RenderSection("scripts", required: false)
</body>
</html>
